﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TestGDTSdk : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {

    }

    public void onInitClickCallback()
    {
        GDTADAgent.Instance.InitSDK(""
    , ""
    , "");
    }

    public void onLoadInterstitial()
    {
        GDTADAgent.Instance.LoadInterstitialAD();
    }
    public void onLoadRewardVideo()
    {
        GDTADAgent.Instance.LoadRewardVideoAD();
    }

    public void onShowInterstitial()
    {
        GDTADAgent.Instance.ShowInterstitialAD();
    }

    public void onShowRewardVideo()
    {
        GDTADAgent.Instance.ShowRewardVideoAD();
    }

    public void onInitEvent()
    {
        GDTEventAgent.Instance.AgentInitGDTEvent("", "", true);
    }

    public void onUploadTestEvent()
    {
        GDTEventAgent.Instance.AgentLogAction("test", new Dictionary<string, string>()
        {
            {"testKey","testValue"}
        });
    }
}
